package com.onesports.intelligent.k12.polarlight.domain.entity.market;

import com.baomidou.mybatisplus.annotation.TableName;

import com.onesports.intelligent.k12.polarlight.common.domain.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 订单结算
 *
 * @author
 * @since 1.0.0 2022-07-08
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("orders_settlement")
public class OrdersSettlement extends BaseEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 机构ID
	 */
	private String organizationId;

    /**
     * 结算单号
     */
	private String settlementNo;
    /**
     * 结算周期开始时间
     */
	private Date startTime;
    /**
     * 结算周期截止时间
     */
	private Date endTime;
    /**
     * 结算时间
     */
	private Date settlementTime;
    /**
     * 订单数量
     */
	private Integer orderNum;
    /**
     * 总实付金额
     */
	private BigDecimal actuallyAmountTotal;
    /**
     * 团长分账
     */
	private BigDecimal headSubLedger;
    /**
     * 教练分账
     */
	private BigDecimal coachSubLedger;
    /**
     * 社区分账
     */
	private BigDecimal campusSubLedger;
    /**
     * 运营团队分账
     */
	private BigDecimal organizationSubLedger;
    /**
     * 平台分账
     */
	private BigDecimal platformSubLedger;
}
